import React from 'react';
import Tab from '../../../../TabChange';
import './index.scss';

const tab = [
  {
    label: '测试结果',
    route: '/system/corule/interactive/knowledge/test_result',
    level: 5
  },
  {
    label: '题库管理',
    route: '/system/corule/interactive/knowledge/question_mng',
    level: 5
  }];
class KnowledgeEvaluation extends React.PureComponent {
  render() {
    return (
      <div className="role-page">
        <div className="content">
          <div className="knowledge-tab">
            <Tab
              configTab={tab}
            />
          </div>
          {
            this.props.children
          }
        </div>
      </div>
    );
  }
}

export default KnowledgeEvaluation;
